import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 商品
 */
export function addShop(params) {
    return request.globalRequest(apis.addShop, 'POST', params)
}
export function getShopList(params) {
    return request.globalRequest(apis.getShopList, 'POST', params)
}
export function delShop(params) {
    return request.globalRequest(apis.delShop, 'POST', params)
}
export function updateShop(params) {
    return request.globalRequest(apis.updateShop, 'POST', params)
}

export default {
	addShop,
	getShopList,
	delShop,
	updateShop,
}